package hcn.protocol.brandnew.dengji.guahao;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import org.atag.sysrouter.annotation.DictionaryMapping;


/**
 * 门诊停诊信息查询-响应消息(成功) - ODS_02040017_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetCanceledWorksResponse {

    /**
     * 预约挂号患者信息
     */
    @XmlElementWrapper(name = "OrderInformationLists")
    @XmlElement(name = "OrderInformationList")
    private List<OrderInformationList> orderInformationLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class OrderInformationList {

        /**
         * 就诊医疗机构组织机构代码
         */
        @XmlElement(name = "VisitOrganization")
        private String visitOrganization;
        /**
         * 医生代码
         */
        @XmlElement(name = "DoctorId")
        private String doctorId;
        /**
         * 病人科室代码
         */
        @XmlElement(name = "DeptCode")
        private String deptCode;
        /**
         * 预约记录流水号
         */
        @XmlElement(name = "AppointsId")
        private String appointsId;
        /**
         * 患者ID
         */
        @XmlElement(name = "SourcePatientId")
        private String sourcePatientId;
        /**
         * 姓名
         */
        @XmlElement(name = "Name")
        private String name;
        /**
         * 身份证件类别代码
         */
        @XmlElement(name = "IdCardCode")
        @DictionaryMapping(id = "CV02_01_101")
        private String idCardCode;
        /**
         * 身份证件号码
         */
        @XmlElement(name = "IdCard")
        private String idCard;
        /**
         * 就诊卡类别代码
         */
        @XmlElement(name = "MedicalCardType")
        @DictionaryMapping(id = "rmp.dic.medicalCardType")
        private String medicalCardType;
        /**
         * 就诊卡号
         */
        @XmlElement(name = "MedicalCardID")
        private String medicalCardID;
    }

}
